package com.jiangjiang.eshop.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @Author Jianghaowen
 * @Date 2021/9/14
 * @Description: TODO
 * @Version V1.0
 **/
@Data
@TableName("wms_goods_stock")
public class WmsGoodsStock {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 商品sku ID
     */
    @TableField("goods_sku_id")
    private Long goodsSkuId;
    /**
     * 可用库存数量
     */
    @TableField("available_stock_quantity")
    private Long availableStockQuantity;
    /**
     * 锁定库存数量
     */
    @TableField("locked_stock_quantity")
    private Long lockedStockQuantity;
    /**
     * '已出库库存数量'
     */
    @TableField("output_stock_quantity")
    private Long outputStockQuantity;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
